﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web.Views.Common
{
    public partial class TicketOffice : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request["area"] != null)
            {
                gdvAgentList.DataSourceID = "odsAgentListByArea";
            }
        }
        protected string GetTitle()
        {
            string title = "热门售票点";
            if (Request["area"] != null)
            {
                    title = string.Format("{0} 所有售票点", Request["area"]);
            }
            else if (Request["city"] != null)
            {
                title = string.Format("{0} 所有售票点", Request["city"]);
            }
            this.Title = string.Format("{0} --容易订票网",title);
            return title;
        }
    }
}
